﻿@model RazorHelper.Models.Student
@{
    ViewBag.Title = "Register";
}

<h2>Register</h2>
@using (Html.BeginForm())
{
    <div>@Html.LabelFor(s=>s.Id)</div>
    @Html.TextBoxFor(s=>s.Id)
    
    <div>@Html.DisplayNameFor(s => s.Password):</div>
    @Html.TextBoxFor(s=>s.Password)
    
    <div>Full Name:</div>
    @Html.TextBoxFor(s=>s.FullName)
    
    <div>Gender:</div>
    <label>@Html.RadioButtonFor(s => s.Gender, true) Male</label>
    <label>@Html.RadioButtonFor(s => s.Gender, false) Female</label>
    
    <div>Birthday:</div>
    @Html.TextBoxFor(s=>s.Birthday)
    
    <div>Notes:</div>
    @Html.TextAreaFor(s => s.Notes, new { rows="5", cols="44"})
    
    <br /><br />
    <button>Register</button>
}

